using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Tools;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class OfflineShoppingCarsExtend
{
		public static ResponseOfflineShoppingCarsDto ToResponseDto(this OfflineShoppingCars entity)
{			return new ResponseOfflineShoppingCarsDto
			{
				id = entity.ScId,
				carShopId = entity.ScCarShopId,
				productId = entity.ScProductId,
				count = entity.ScCount,
			};
		}
	}
}
